/**
 * @file    soaFileUploadResult.h
 * @brief   描述 DDS切换共享内存，重写信号采集函数
 * @author  
 * @version 1.0
 * @date    
 */

#ifndef SOAC2SIGNALTOEDC_H_
#define SOAC2SIGNALTOEDC_H_

#include <string>
class adr_component;

class SoaC2SignalToEdc
{
public:
    static SoaC2SignalToEdc &getInstance();

    void sendSignal(const std::string &signals);
    void sendSignalToMqtt(const std::string &signals);
    void sendEvent(const std::string &event);

    void setPublishHandle(adr_component *component);
private:
    SoaC2SignalToEdc();
    ~SoaC2SignalToEdc();

    adr_component *m_component{nullptr};
};

#endif //SOAC2SIGNALTOEDC_H_